<div class="modal-body">
    <div class="alert alert-info">服务内容表基本信息</div>
    <form class="form-horizontal" method="post" novalidate>

        <div class="form-group">
            <label class="col-md-2 control-label" for="title">标题：</label>
            <div class="col-md-4">
                <input id="title" name="title" type="text"
                       class="form-control" autocomplete="off"
                       ng-model="server.title" ng-maxlength="30" maxlength="30"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="content">内容：</label>
            <div class="col-md-4">
                <input id="content" name="content" type="text"
                       class="form-control" autocomplete="off"
                       ng-model="server.content" ng-maxlength="30" maxlength="30"/>
            </div>
        </div>

        <div class="form-group">
            <label class="col-md-2 control-label" for="pictureId">首页小图片：</label>
            <div class="col-md-4">
                <input id="pictureId" name="pictureId" type="text"
                       class="form-control" autocomplete="off"
                       ng-model="server.pictureId" ng-maxlength="30" maxlength="30"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label">首页显示：</label>
            <div class="col-md-4">
                <select ng-model="server.showFlag">
                    <option value="Y" selected>显示</option>
                    <option value="N">不显示</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="typeId">类型：</label>
            <div class="col-md-4">
                <select id="typeId" name="typeId" class="form-control"
                        ng-model="server.typeId"
                        ng-options="item.code as item.name for item in serverTypes"></select>
            </div>
        </div>

        <div class="form-group">
            <label class="col-md-2 control-label" for="startDate">开始时间：</label>
            <div class="col-md-4">
                <input my-datepicker="" ng-model="server.startDate"
                       id="startDate" name="startDate" />
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="endDate">结束时间：</label>
            <div class="col-md-4">
                <input my-datepicker="" ng-model="server.endDate"
                       id="endDate" name="endDate" />
            </div>
        </div>
    </form>
</div>
<div class="modal-footer">
    <button type="submit" class="btn btn-primary" ng-click="submit()">保存</button>
    <button class="btn btn-default" ng-click="cancel()">取消</button>
</div>